<?php

function isFunctionAvailable($function_name){
	$sql = "select * from sa_function where function_name = '".$function_name."' and code = 'hsh'";
	$result = mysql_query($sql) or die(mysql_error());
	
	if(mysql_num_rows($result) > 0){
		return true;
	}else{
		return false;
	}
}

?>
